package com.example.exploreactivedemo1.fragments


import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.navigation.findNavController
import androidx.navigation.fragment.findNavController
import com.example.exploreactivedemo1.R
import com.example.exploreactivedemo1.base.BaseFragment
import com.example.exploreactivedemo1.databinding.FragementForgetBinding


class ForgetFragment : BaseFragment<FragementForgetBinding>(){
    override fun initView(rootView: View?) {
        super.initView(rootView)

        fragementBinding.backBtnView.setOnClickListener {
            findNavController().navigateUp()
//            findNavController().popBackStack()

        }
    }

    override fun inflateBinding(
        inflater: LayoutInflater,
        container: ViewGroup?
    ): FragementForgetBinding {
        return FragementForgetBinding.inflate(inflater)
    }


    override fun getLayoutResId(): Int {
        return R.layout.fragement_forget
    }
}